<div id="calendarDiv">
<table id="calendarTable">
	<tr id="titleTable">
		<!--foreach_titleDays-->
			<td>
				%title%
			</td>
		<!--endforeach_titleDays-->
	</tr>
		<!--foreach_weeks-->
			<tr>
				<!--foreach_days-->
					<td>
						<!--if{!empty(number)}-->
						<div class="numberDay">
						%number%
						</div>
							<!--if{!empty(appointments)}-->
								<!--foreach_appointments-->
									<div class="calendarAppointment">
										<a href="index.php?pagename=Appointment&id=%id%" onClick="showAppointment(%id%);return false;">%start% - %end%</a>
									</div>
								<!--endforeach_appointments-->
							<!--endif{!empty(appointments)}-->	
						<!--endif{!empty(number)}-->
					</td>
				<!--endforeach_days-->
			</tr>
		<!--endforeach_weeks-->
</table>
</div>

